using System.ComponentModel.DataAnnotations.Schema;

namespace CoreManager.Models.Entities
{
    /// <summary>
    /// 角色菜单关联实体
    /// </summary>
    [Table("sys_role_menu")]
    public class RoleMenu : BaseEntity
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [Column("role_id")]
        public int RoleId { get; set; }

        /// <summary>
        /// 菜单ID
        /// </summary>
        [Column("menu_id")]
        public int MenuId { get; set; }
    }
}
